﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Pescar2013Shop_MaruMati.Controllers

{
    [Table("miProducto")]
    public class Producto
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public long id { get; set; }
        public string Nombre { get; set; }
        public string Modelo { get; set; }
        public double Precio { get; set; }
        public string Descripcion { get; set; }
        public string Url { get; set; }
        public virtual Marca Marca { get; set; }


    }
}
